webpackJsonp([1],{

/***/ 0:
/***/ function(module, exports, __webpack_require__) {

	//订单管理
	var url = __webpack_require__(10);
	var template = __webpack_require__(11);
	var main = __webpack_require__(13);
	var module = __webpack_require__(21);
	//模板配置
	var tplArr = [];
	var ManagerTpl = __webpack_require__(23);
	tplArr['manager'] = template.compile(ManagerTpl.replace(/^\s*|\s*$/g, ""));

	var goodsInfo = {
	    "id": 1,
	    "title": "大家乐文胸一片式无痕内衣厚B杯深V聚拢商场同款内衣1",
	    "attr": [],
	    "num": "1002837828372",
	    "spec": "大红,B杯,34/75"
	};
	var data2 = [{
	    "id": "",
	    "num": "12321231",
	    "goodsInfo": module.ordersGoodsInfo([goodsInfo]),
	    "editUrl": "#",
	    "price": "99.10"
	}, {
	    "id": "",
	    "num": "12321232",
	    "goodsInfo": module.ordersGoodsInfo([goodsInfo]),
	    "editUrl": "#",
	    "price": "99.20"
	}, {
	    "id": "",
	    "num": "12321233",
	    "goodsInfo": module.ordersGoodsInfo([goodsInfo]),
	    "editUrl": "#",
	    "price": "99.30"
	}];

	function Index() {
	    _this = this;
	    this.main = function () {
	        main.event(this, 'tap', 'om-click');
	        main.event(this, 'change', 'om-change');
	        this.init();
	    };
	    //初始化内容
	    this.createHtml = function () {
	        var html = '';
	        html = module.getModule({ "placeholder": "搜索商品名称／商品编号／订单号" }, 'search') + module.getModule({ "fun": 'om-change="selectFun"', "list": ["全部订单", "未支付"], "selected": "未支付" }, 'baseSelect') + _this.orderManagerList();
	        $('.ui-container').html(html);
	    };
	    //下拉筛选
	    this.selectFun = function (ths) {
	        alert(ths.val());
	    };
	    //订单管理列表
	    this.orderManagerList = function () {
	        var data = {
	            "tType": "orderManagerList",
	            "list": data2
	        };
	        return tplArr['manager'](data);
	    };
	    this.getFooter = function () {
	        var data = {};
	        data = {
	            tType: "footer",
	            active: "0",
	            dataList: [{
	                link: url.Index,
	                icon: "ui-icon-home",
	                name: "首页"
	            }, {
	                link: url.shopCar,
	                icon: "ui-icon-cart",
	                name: "购物车"
	            }, {
	                link: url.Center,
	                icon: "ui-icon-personal",
	                name: "个人中心"
	            }]
	        };
	        $(".wrap").append(module.getModule(data, "footer"));
	    };
	    this.init = function () {
	        this.createHtml();
	        this.getFooter();
	        this.baseUrl = url.baseImageUrl;
	    };
	    return this.main();
	};

	var index = new Index();

/***/ },

/***/ 23:
/***/ function(module, exports) {

	module.exports = "{{if tType== \"orderManagerList\"}}\n<!--订单管理list-->\n<div class=\"ManagerList bor-b-e\">\n    <ul class=\"ui-list ui-list-pure ui-border-tb\">\n    \t{{each list as value i}}\n        <li class=\"ui-border-t\">\n            <div class=\"head\"><p><span>用户昵称: {{value.name}}</span> <span>订单编号: {{value.order_sn}}</span></p></div>\n            <div class=\"cont\">{{value.goodsInfo}}</div>\n            <div class=\"foot\">\n            <h2>\n            价 格: <span>￥{{value.order_amount}}</span>\n            <p>订单状态: {{value.order_status}}</p>\n            </h2>\n            {{if value.order_status!=\"已发货\"}}\n                {{if value.order_status==\"未付款\"}}\n                <a href=\"../../pay/wechat?order_id={{value.order_id}}&order_sn={{value.order_sn}}\" class=\"ui-btn send_style\">去付款</a>\n                {{else}}\n                <a href=\"javascript:;\" class=\"ui-btn send_style\">发货</a>\n                {{/if}}\n            {{/if}}\n            <a href=\"../process/order-detail?order_id={{value.order_id}}\" class=\"ui-btn watch_style\">查看详情</a>\n            {{if value.order_status==\"已发货\"}}\n            <a href=\"evaluate?order_id={{value.order_id}}&product_no={{value.good[0].good_sku}}\" style=\"margin-top: 39px;\" class=\"ui-btn watch_style\">评价</a>\n            {{/if}}\n            </div>\n        </li>\n        {{/each}}\n    </ul>\n</div>\n{{/if}}\n{{if tType== \"productManagerList\"}}\n<!--商品管理list-->\n<div class=\"ManagerList bor-b-e\">\n    <ul class=\"ui-list ui-list-pure ui-border-tb\">\n    \t{{each list as value i}}\n        <li class=\"ui-border-t\">\n            <div class=\"head\"><p><span>商品编号: {{value.product_id}}</span></p></div>\n            <div class=\"cont\">{{value.goodsInfo}}</div>\n            <div class=\"foot\"><h2>价 格: <span>￥{{value.money}}</span></h2><a href=\"{{value.editUrl}}\" class=\"ui-btn\">编辑库存</a></div>\n        </li>\n        {{/each}}\n    </ul>\n</div>\n{{/if}}\n{{if tType== \"clerkManagerList\"}}\n<!--店员管理list-->\n<div class=\"ManagerList bor-b-e\">\n    <ul class=\"ui-list ui-list-pure ui-border-tb\">\n    \t{{each list as value i}}\n        <li class=\"ui-border-t\">\n            <div class=\"head\"><p><span>店员编号: {{value.clerk_number}}</span> <span>状态: {{value.clerk_identity}}</span></p></div>\n            <div class=\"cont\">\n            \t<ul class=\"ui-list\">\n\t\t\t\t    <li class=\"ui-border-t orders-goods-info\">\n\t\t\t\t    \t<div class=\"ui-list-info orders-goods-info\">\n\t\t\t\t            <h5 class=\"ui-noerap\">名  称: {{value.store_name}}</h5>\n\t\t\t\t            <h5 class=\"ui-noerap\">店员等级: {{value.status}}</h5>\n\t\t\t\t            <h5 class=\"ui-noerap\">手 机 号: {{value.clerk_mobile}}</h5>\n\t\t\t\t            <h5 class=\"ui-noerap\">入职时间: {{value.add_time | xx:'yyyy-MM-dd'}}</h5>\n\t\t\t\t            <h5 class=\"ui-noerap\">离职时间: </h5>\n\t\t\t\t            <h5 class=\"ui-noerap\">粉丝数量: {{value.fans}}</h5>\n\t\t\t\t            <h5 class=\"ui-noerap\">佣金累计: 大红,B杯,34/75</h5>\n\t\t\t\t        </div>\n\t\t\t\t        <div class=\"ui-list-img clerk-code\">\n\t\t\t\t            <img width=\"100\" src=\"{{value.ercode_url}}\">\n\t\t\t\t            <a href=\"{{value.editUrl}}\" class=\"ui-btn\">编辑</a>\n\t\t\t\t            <a href=\"{{value.editUrl}}\" class=\"ui-btn\">申请离职</a>\n\t\t\t\t        </div>\n\t\t\t\t    </li>\n\t\t\t\t</ul>\n            </div>\n        </li>\n        {{/each}}\n    </ul>\n</div>\n<div class=\"ui-btn-wrap\"><button class=\"ui-btn-lg ui-btn-pink\" om-click=\"addClerkInfo\">添加店员申请</button></div>\n{{/if}}\n{{if tType == \"finaceManagerHtml\"}}\n<!--财务管理list-->\n{{tabNav}}\n{{InfoTiled}}\n<div class=\"ManagerList bor-b-e\">\n    <ul class=\"ui-list ui-list-pure \">\n    \t{{each list as value i}}\n        <li class=\"ui-border-t\">\n            <div class=\"head\">\n                <label class=\"ui-checkbox-s\">\n                    <input type=\"checkbox\" name=\"checkbox\">\n                </label>\n                <div class=\"dhlink\">\n\t            <span>商品编号: {{value.order_sn}}</span>\n\t            <span>订单时间: {{value.add_time}}</span>\n\t            </div>\n            </div>\n            <div class=\"cont\">{{value.goodsInfo}}</div>\n            <div class=\"foot\"><h2>订单状态: <span>{{value.order_status}}</span> 佣金支付: <span>{{value.money_text}}</span></h2></div>\n        </li>\n        {{/each}}\n    </ul>\n</div>\n<div class=\"selectAll\">\n\t<label class=\"ui-checkbox-s\"><input type=\"checkbox\" name=\"checkbox\"></label>全选\n</div>\n<div class=\"ui-btn-wrap\"><button class=\"ui-btn-lg ui-btn-pink\">确认已支付佣金</button></div>\n{{/if}}\n{{if tType==\"clerkInfo\"}}\n\n<div class=\"ui-form-item ui-form-item-show ui-border-b _ui-form-item\">\n    <label for=\"#\">店员等级</label> \n        <select>\n            <option>店员</option>\n            <option selected=\"\">店长</option> \n        </select> \n</div>\n<div class=\"ui-form-item ui-form-item-show ui-border-b _ui-form-item\">\n    <label for=\"#\">姓名</label>\n    <input type=\"text\" value=\"{{name}}\" name=\"name\">\n</div>\n<div class=\"ui-form-item ui-form-item-show ui-border-b _ui-form-item\">\n    <label for=\"#\">手机号码</label>\n    <input type=\"text\" value=\"{{mobile}}\" name=\"mobile\">\n</div>\n<div class=\"ui-form-item ui-form-item-show ui-border-b _ui-form-item\">\n    <label for=\"#\">验证码</label>\n    <input type=\"text\" value=\"{{code}}\" name=\"code\">\n</div>\n<div class=\"ui-btn-wrap\"><button class=\"ui-btn-lg ui-btn-pink\" i-click=\"Confirm\">确定</button></div>\n{{/if}}"

/***/ }

});